package com.xiyuan.almighty.controller;

public class TestThread {
    public static void main(String[] args) {
        new Thread(() -> {
            System.out.println("开启第一个线程");
        }, "A");
        new Thread(() -> {
            System.out.println("开启第二个线程");
        }, "B");
    }
}
